<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="https://www.thymeleaf.org">
    <head>
        <title>Spring Security示例</title>
        <meta charset="utf-8" />
        <link rel="stylesheet" href="/css/main.css" th:href="@{/css/main.css}" />
    </head>
    <body>
        <div th:substituteby="index::logout"></div>
        <div style="background-color: lightgreen">
            <h1>当前页面是安全的！</h1>
            <p><a href="/index" th:href="@{/index}">返回主页</a></p>
        </div>
    </body>
</html>
